package cn.kgc.crowdfundingadminspringboot.service;

import cn.kgc.crowdfundingadminspringboot.pojo.Advertisement;
import cn.kgc.crowdfundingadminspringboot.pojo.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdvertisementService {
    public PageInfo<Advertisement> queryForKeywordWithPage(
            Integer pageNum,
            Integer pageSize,
            String keyword);


    List<Advertisement> getAdvertisementListByIdList(List<Integer> advertisementIdList);

    void batchRemove(List<Integer> advertisementIdList);


    void saveAdvertisement(Advertisement advertisement);

    void updateAdvertisement(Advertisement advertisement);
}
